package com.educate.member.dao;

import com.educate.member.dao.impl.ChildDaoImpl;
import com.educate.device.model.bo.ChildBO;
import com.educate.device.model.po.Child;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ChildDao extends MongoRepository<Child, String> {

    /**
     * #{@link ChildDaoImpl#query(ChildBO, Pageable)}
     */
    Page<Child> query(ChildBO bo, Pageable pageable);
}
